/*
* ============================================================================
*  Name        : camengtest.rss
*  Part of     : camengtest
*  Description : 
*  Version     : %version: 2 %
*
* This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What The Fuck You Want
* To Public License, Version 2, as published by Sam Hocevar. See
* http://sam.zoy.org/wtfpl/COPYING for more details.
*
* You are welcome to, but not required to, contribute any modifications that
* improve stability, usability and/or feature set of the library back to
* Symbian/S60 Camera Wrapper project, as long as binary compatibility is
* retained. See https://projects.forum.nokia.com/camerawrapper for more info.
* ============================================================================
*/

//  RESOURCE IDENTIFIER
NAME NOOB    // 4 letter ID


//  INCLUDES
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include <appinfo.rh>
#include "camengtest.hrh"
#include "camengtest.rls"

//  RESOURCE DEFINITIONS
// -----------------------------------------------------------------------------
//
//    Define the resource file signature
//    This resource should be empty.
//
// -----------------------------------------------------------------------------
//
RESOURCE RSS_SIGNATURE
    {
    }

// -----------------------------------------------------------------------------
//
//    Default Document Name
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_default_document_name
    {
    }

// -----------------------------------------------------------------------------
//
//    Define default menu and CBA key.
//
// -----------------------------------------------------------------------------
//
RESOURCE EIK_APP_INFO
    {
    menubar = r_camengtest_menubar;
    cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
    }


// -----------------------------------------------------------------------------
//
//   r_camengtest_menubar
//   Menubar for CAMENGTEST example
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_camengtest_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_camengtest_menu; }
        };
    }


// -----------------------------------------------------------------------------
//
//   r_camengtest_menu
//   Menu for "Options"
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_camengtest_menu
    {
    items =
        {
        // added the new Options menu command here
        MENU_ITEM
                {
                command = ECAMENGTESTCommandStartVF;
                txt = "Start ViewFinder";
                },
        MENU_ITEM
                {
                command = ECAMENGTESTCommandStopVF;
                txt = "Stop ViewFinder";
                },
        MENU_ITEM
                {
                command = ECAMENGTESTCommandCapture;
                txt = "Capture";
                },
        MENU_ITEM
                {
                command = ECAMENGTESTCommandAF;
                txt = "AF Status";
                },
        MENU_ITEM
                {
                command = ECAMENGTESTCommandExp;
                txt = "Next Exposure Mode";
                },
        MENU_ITEM
                {
                command = ECAMENGTESTCommandFlash;
                txt = "Next Flash Mode";
                },
        MENU_ITEM
                {
                command = EAknSoftkeyExit;
                txt = "Exit";
                }
        };
    }

// ----------------------------------------------------------------------------
//
// r_dialog_text_edit_query
//
// ----------------------------------------------------------------------------
//
RESOURCE DIALOG r_dialog_text_edit_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_DATA_QUERY
                {
                layout = EDataLayout;
                label = "";
                control = EDWIN
                    {
                    width = 32;
                    maxlength = 32;
                    lines = 1;
                    };
                };
            }
        };
    }
// End of File

